﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Data
{
    public class RequestData
    {

        public ItemType.Type type { get; set; } = ItemType.Type.UNKNOWN;
        public dynamic data { get; set; }
        public int printIndex { get; set; } = 0;

        public RequestData SetType(string tag)
        {
            type = ItemType.Match(tag);
            return this;
        }
    }
}
